Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update muon script and calibration scripts #263

Merged
merged 19 commits into from
Jan 21, 2020

Conversation

FrancaCassol
Copy link
Collaborator

This PR include

  • the muon script is updated with the new gain selection and with tel_id information in order to be able to run it on old data.
  • the calibration script get some new trailets which permit to select only the time or only the charge calibration
  • some other minors changes

 into update_muon_script

Conflicts:
	lstchain/scripts/lstchain_data_muon_analysis.py
 into update_muon_script

Conflicts:
	lstchain/data/onsite_camera_calibration_param.json
	lstchain/scripts/lstchain_data_muon_analysis.py
	lstchain/scripts/onsite/onsite_create_calibration_file.py
	lstchain/tools/lstchain_data_create_calibration_file.py
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.

@rlopezcoto
Copy link
Contributor

So this one cancels #241?

@FrancaCassol
Copy link
Collaborator Author

Ops, yes, I will close it

…: the script create a link to the corresponding calibration file.

If the trailet is zero, the script calculate the time calibraiton
…n file of that run.

If default_time_run=0, it calculate the time calibration file.
@FrancaCassol
Copy link
Collaborator Author

FrancaCassol commented Jan 20, 2020

Concerning the time calibration file, after discussion with @rlopezcoto the idea is to create for each night a link (in the calibration directory) to the correct time calibration file. This is performed by the onsite_create_calibration_script.
The action is steered by the trailet "defaut_time_run". If this trailet is set to zero, the script calculates the time calibration from the data of that night otherwise performs the link. The default value of the trailet is now 1625 with is the run suggested by Pawel as a good time run.

@rlopezcoto
Copy link
Contributor

Hi @FrancaCassol, changes look good to me. This needs to be merged before the next release, so I'll leave it here for a while in case somebody has a comment, otherwise I'll merge it tonight.

@FrancaCassol
Copy link
Collaborator Author

ok!

@rlopezcoto rlopezcoto merged commit a2aabbf into cta-observatory:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants